package com.leankit.kanban.api.client.library.transferobjects;

import java.util.List;

public class CardEvent {
    private long CardId;
    private Long ToLaneId;
    private String ToLaneTitle;
    private String _type;
    private String UserName;
    private String UserFullName;
    private String DateTime;
    private String TimeDifference;
    private String CommentText;
    private Long FromLaneId;
    private String FromLaneTitle;
    private String Comment;
    private boolean IsBlocked;
    private List<FieldChange> Changes;
    public long getCardId() {
		return CardId;
	}
    
    public String getType() {
    	return _type;
    }
    
    public void setType(String type) {
    	_type = type.replace("DTO","");
    }

	public void setCardId(long cardId) {
		CardId = cardId;
	}

	public Long getToLaneId() {
		return ToLaneId;
	}

	public void setToLaneId(Long toLaneId) {
		ToLaneId = toLaneId;
	}

	public String getToLaneTitle() {
		return ToLaneTitle;
	}

	public void setToLaneTitle(String toLaneTitle) {
		ToLaneTitle = toLaneTitle;
	}

	public String getUserName() {
		return UserName;
	}

	public void setUserName(String userName) {
		UserName = userName;
	}

	public String getUserFullName() {
		return UserFullName;
	}

	public void setUserFullName(String userFullName) {
		UserFullName = userFullName;
	}

	public String getDateTime() {
		return DateTime;
	}

	public void setDateTime(String dateTime) {
		DateTime = dateTime;
	}

	public String getTimeDifference() {
		return TimeDifference;
	}

	public void setTimeDifference(String timeDifference) {
		TimeDifference = timeDifference;
	}

	public String getCommentText() {
		return CommentText;
	}

	public void setCommentText(String commentText) {
		CommentText = commentText;
	}

	public Long getFromLaneId() {
		return FromLaneId;
	}

	public void setFromLaneId(Long fromLaneId) {
		FromLaneId = fromLaneId;
	}

	public String getFromLaneTitle() {
		return FromLaneTitle;
	}

	public void setFromLaneTitle(String fromLaneTitle) {
		FromLaneTitle = fromLaneTitle;
	}

	public String getComment() {
		return Comment;
	}

	public void setComment(String comment) {
		Comment = comment;
	}

	public boolean isIsBlocked() {
		return IsBlocked;
	}

	public void setIsBlocked(boolean isBlocked) {
		IsBlocked = isBlocked;
	}

	public List<FieldChange> getChanges() {
		return Changes;
	}

	public void setChanges(List<FieldChange> changes) {
		Changes = changes;
	}

	public Long getAssignedUserId() {
		return AssignedUserId;
	}

	public void setAssignedUserId(Long assignedUserId) {
		AssignedUserId = assignedUserId;
	}

	public String getAssignedUserFullName() {
		return AssignedUserFullName;
	}

	public void setAssignedUserFullName(String assignedUserFullName) {
		AssignedUserFullName = assignedUserFullName;
	}

	public String getAssignedUserEmailAddres() {
		return AssignedUserEmailAddres;
	}

	public void setAssignedUserEmailAddres(String assignedUserEmailAddres) {
		AssignedUserEmailAddres = assignedUserEmailAddres;
	}

	public boolean isIsUnassigning() {
		return IsUnassigning;
	}

	public void setIsUnassigning(boolean isUnassigning) {
		IsUnassigning = isUnassigning;
	}

	public Long getUserToOverrideWipId() {
		return UserToOverrideWipId;
	}

	public void setUserToOverrideWipId(Long userToOverrideWipId) {
		UserToOverrideWipId = userToOverrideWipId;
	}

	public String getUserToOverrideWipName() {
		return UserToOverrideWipName;
	}

	public void setUserToOverrideWipName(String userToOverrideWipName) {
		UserToOverrideWipName = userToOverrideWipName;
	}

	public String getWipOverrideComment() {
		return WipOverrideComment;
	}

	public void setWipOverrideComment(String wipOverrideComment) {
		WipOverrideComment = wipOverrideComment;
	}

	public String getUserToOverrideWipEmail() {
		return UserToOverrideWipEmail;
	}

	public void setUserToOverrideWipEmail(String userToOverrideWipEmail) {
		UserToOverrideWipEmail = userToOverrideWipEmail;
	}

	public Long getLaneToOverrideWipId() {
		return LaneToOverrideWipId;
	}

	public void setLaneToOverrideWipId(Long laneToOverrideWipId) {
		LaneToOverrideWipId = laneToOverrideWipId;
	}

	public String getLaneToOverrideWipTitle() {
		return LaneToOverrideWipTitle;
	}

	public void setLaneToOverrideWipTitle(String laneToOverrideWipTitle) {
		LaneToOverrideWipTitle = laneToOverrideWipTitle;
	}

	public boolean isIsDelete() {
		return IsDelete;
	}

	public void setIsDelete(boolean isDelete) {
		IsDelete = isDelete;
	}

	public String getFileName() {
		return FileName;
	}

	public void setFileName(String fileName) {
		FileName = fileName;
	}

	private Long AssignedUserId;
    private String AssignedUserFullName;
    private String AssignedUserEmailAddres;
    private boolean IsUnassigning;
    private Long UserToOverrideWipId;
    private String UserToOverrideWipName;
    private String WipOverrideComment;
    private String UserToOverrideWipEmail;
    private Long LaneToOverrideWipId;
    private String LaneToOverrideWipTitle;
    private boolean IsDelete;
    private String FileName;

    private class FieldChange {
        private String FieldName;
        private String OldValue;
        private String NewValue;
        private String OldDueDate;
        private String NewDueDate;
    }

}
